package cn.dengta.webapp.im.enums;

import lombok.Getter;

/**
 * 通话状态
 */
@Getter
public enum CallState {

	OTHER(-1, "其它"),
	NO_ANSWER(0, "无应答（对方未接听）"),
	BUSY(1, "忙线中（对方正在通话中）"),
	REJECTED(2, "已拒绝（对方拒绝接听）"),
	CANCEL(3, "已取消（在对方接听前，自己主动挂断）");

	public final Integer code;
	String desc;

	CallState(Integer code, String desc) {
		this.code = code;
		this.desc = desc;
	}

}
